//
//  RimViewController.h
//  Anyair
//
//  Created by karlcool on 14-5-15.
//  Copyright (c) 2014年 Karlcool. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import "BMapKit.h"

@interface RimViewController : UIViewController <BMKMapViewDelegate,BMKSearchDelegate,UITableViewDataSource,UITableViewDelegate,UISearchBarDelegate>{
    int dataType;//0为PM2.5 1为甲醛 2为缺氧
    BMKMapView *rimMapView;

    BMKSearch* searchPlace;
    UISearchBar *mySearchBar;
    UISearchDisplayController *searchDisplayController;
    NSMutableArray *searchResults;
    NSMutableArray *resultlatitude;
    NSMutableArray *resultlongitude;
    int searchCurPage;
    
    BOOL decodeSuccess;
    
    NSMutableArray *annotationArray;
    BMKPinAnnotationView *newAnnotation;
}



- (id)initWithType:(int)type;

- (void)releaseMemory;
@end
